From 49bef721c1f68e861bc7674311ba958a6f63b3cd Mon Sep 17 00:00:00 2001 From: oliskoli Date: Sat, 18 Mar 2006 19:56:19 +0000 Subject: [PATCH] Fix segmentation fault (temp_buffer size adjusted). --- gpsbabel/tpo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/tpo.c b/gpsbabel/tpo.c index 80c8e46e1..d67d95bdf 100644 --- a/gpsbabel/tpo.c +++ b/gpsbabel/tpo.c @@ -724,7 +724,7 @@ tpo_track_disp(const waypoint *waypointp) static void tpo_track_tlr(const route_head *rte) { - unsigned char temp_buffer[2]; + unsigned char temp_buffer[4]; unsigned char unknown1[] = { 0x06, 0x00 }; -- 2.30.2